home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / node.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  886b  |  34 lines

  1. /* Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    repair/node.h -- reiserfs node recovery structures and macros. */
  5.  
  6. #ifndef REPAIR_NODE_H
  7. #define REPAIR_NODE_H
  8.  
  9. #include <repair/repair.h>
  10.  
  11. extern reiser4_node_t *repair_node_open(reiser4_tree_t *tree,
  12.                     blk_t blk, uint32_t mkid);
  13.  
  14. extern errno_t repair_node_check_level(reiser4_node_t *node,
  15.                        uint8_t mode);
  16.  
  17. extern errno_t repair_node_check_struct(reiser4_node_t *node, 
  18.                     place_func_t func,
  19.                     uint8_t mode,
  20.                     void *data);
  21.  
  22. extern errno_t repair_node_clear_flags(reiser4_node_t *node);
  23.  
  24. extern errno_t repair_node_pack(reiser4_node_t *node,
  25.                 aal_stream_t *stream);
  26.  
  27. extern reiser4_node_t *repair_node_unpack(reiser4_tree_t *tree,
  28.                       aal_stream_t *stream);
  29.  
  30. extern void repair_node_print(reiser4_node_t *node,
  31.                   aal_stream_t *stream);
  32.  
  33. #endif
  34.